package com.mic.yzzn.plc.model;

import java.util.Date;
import java.util.List;

/**
 * Created by ASH on 16/4/18.
 */
public class PLCWriteRequest extends PLCRequest {

	/** PLC 站点 */
	private Station station;

	/** 需要写入的数据 */
	private List<ContactPointData> dataList;

	public PLCWriteRequest() {
		super();
	}

	public PLCWriteRequest(Date time, String agent, Station station, List<ContactPointData> dataList) {
		super(time, agent);
		this.station = station;
		this.dataList = dataList;
	}

	// getters and setters
	public List<ContactPointData> getDataList() {
		return dataList;
	}

	public void setDataList(List<ContactPointData> dataList) {
		this.dataList = dataList;
	}

	public Station getStation() {
		return station;
	}

	public void setStation(Station station) {
		this.station = station;
	}

}
